package com.qfedu.user.service.Impl;

import com.qfedu.fmmall.entity.Users;
import com.qfedu.user.dao.UserMapper;
import com.qfedu.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public int createUser(Users users) {
        return userMapper.insert(users);
    }
}
